Validate Data

Disable Concurrency Validation

Description
This customization will modify a page so that the page can save records even if the records concurrency checksums are out of date (i.e. the data changed while the page was being edited). CAUTION: We recommend you apply this customization only if you very special circumstances.
Variables
RecordControl
Select a record control
Table Name
Select the database table
Applies to
RecordControl class
Code
 
''' 
''' Override the SaveData() function to reset the CheckSum for the record 
''' so that the record can be saved even if it was modified in the database.
''' CAUTION: We recommend you apply this customization only in very special circumstances.
''' 
Public Overrides Sub SaveData()

    ' (re)set the current control's record's CheckSum to Nothing
    Me.CheckSum = Nothing
    MyBase.SaveData()
End Sub



     

Terms of Service Privacy Statement